package com.cooge.jiexi;


public class huashu {

	public static void main(String[] args) throws Exception {
		String channel="17659";
		String url = "http://live.wasu.cn/show/id/"+channel;
		String html = NetUtil.getHtml(url);
		html  = html.substring(html.indexOf("_playUrlhls")+"_playUrlhls".length());
		html = html.substring(html.indexOf("'")+1);
		html = html.substring(0, html.indexOf("'"));
		String m3u8 = (Base164.decodeToString(html.substring(2)));
		System.out.println(m3u8);

	}

}
